import storage from 'store'

export function Logout () {
  return new Promise((resolve) => {
    storage.remove('SET_TOKEN')
    storage.remove('SET_ROLES')
    storage.remove(ACCESS_TOKEN)
    storage.remove(ACCESS_USER_INFO)
    resolve()
  })
}